<li class="clearfix" >
    <input name="nav[2][pid][]" class="pid" style="display: none">
    <input name="nav[2][sort][]" class="sort" style="display: none" >
    <div class="pull-left nav_list">
        <select name="nav[2][type][]" class="form-control nav-type" style="width: 110px;">
            <option value="module" <if condition="$child['module_name']">selected</if>>{:L("_SYSTEM_MODULE_")}</option>
            <option value="custom" <if condition="!$child['module_name']">selected</if>>{:L("_CUSTOM_")}</option>
        </select>

        <select name="nav[2][module][]" class="form-control module" style="width: 110px;<php>if(!$child['module_name']){</php>display:none<php>}</php>">
            <php>foreach($module as $k=>$v){</php>
            <option value="{$v.entry}" data-icon="{$v.icon}" <if condition="strtolower($child['url']) eq strtolower($v['entry'])">selected</if>>{$v.alias}</option>
            <php>}unset($k,$v)</php>
        </select>

        <input name="nav[2][title][]" placeholder={:L("_PLEASE_ENTER_THE_TITLE_WITH_DOUBLE_")} class="form-control title" style="width: 110px;" value="{$child.title}">

        <input name="nav[2][url][]" placeholder={:L("_PLEASE_ENTER_A_LINK_WITH_DOUBLE_")}  class="form-control url" style="width: 300px;<php>if($child['module_name']){</php>display:none<php>}</php>" value=" {$child.url}">

    </div>
    <div class='pull-left' title={:L("_SELECT_ICON_WITH_DOUBLE_")}>
        <select name="nav[2][icon][]" title={:L("_SELECT_ICON_WITH_DOUBLE_")} class="select-os-icon" data-value="{$child['icon']|default=''}"></select>
    </div>

    <div class='pull-left new-blank ' >
        <input name="nav[2][target][]" class="target_input" value="{$child['target']}">
        <label title={:L("_THE_NEW_WINDOW_OPENS_WITH_DOUBLE_")} > <input class="target" <if condition="$child['target'] eq 1">checked</if>  type="checkbox" value="1">{:L("_NEW_WINDOW_OPENS_")}</label>
    </div>

    <div class='pull-left new-blank' <if condition="$child['module_name']">style='display:none'</if>>
        <input name="nav[2][out_site][]" class="target_input" value="{$child['out_site']}">
        <label><input class="target" <if condition="$child['out_site'] eq 1">checked</if> type="checkbox" value="1">是否为站外链接</label>
    </div>

    <div class='pull-left i-list'>
        <a href="javascript:" title={:L("_ADD_NAVIGATION_WITH_DOUBLE_")} class="add-two"><i class="icon icon-plus"></i></a>
        <a href="javascript:"   title={:L("_REMOVE_THIS_NAVIGATION_WITH_DOUBLE_")} class="remove-li"><i class="icon icon-remove"></i></a>
        <a href="javascript:"  title={:L("_MOBILE_NAVIGATION_SORT_WITH_DOUBLE_")}><i class="icon icon-move sort-handle-2"></i></a>
        <!--<a href="{:U('Admin/Channel/customEdit',array('pid'=>$child['pid'],'id'=>$child['id']))}">编辑</a>-->
        <a href="{:U('Admin/Channel/delete',array('pid'=>$nav['child'][$key]['pid'],'id'=>$nav['child'][$key]['id']))}">删除</a>
    </div>

    <input type="hidden" name="nav[2][image][]" value="{$child['image']}">
    <input type="hidden" name="nav[2][remark][]" value="{$child['remark']}">
</li>


